﻿@model IEnumerable<ABCTile.Models.Shape>

@{
    ViewBag.Title = "Index";
}

@Html.ActionLink("Tile", "Index", "Tile") |
@Html.ActionLink("Manufacture", "Index", "Manufacture") |
@Html.ActionLink("Color", "Index", "Color") |
@Html.ActionLink("Shape", "Index", "Shape")

<h2>Shape Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            ShapeName
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ShapeName)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ShapeID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ShapeID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ShapeID })
        </td>
    </tr>
}

</table>
